import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import {LoeeEntity} from '../../../comentity'

/**
 * 描述
 */
@EntityModel('course_system')
export class courseSystemEntity extends LoeeEntity {
  @Column({ comment: '阶段名称' })
  phase_name: string;

  @Column({ comment: '阶段课程介绍',length:2000 })
  phase_course_introduce: string;
  
  @Column({ comment: '顺序'})
  sort: number;

  @Column({ comment: '课程类型'})
  course_type: number;

  @Column({ comment: '备注',length:1000,nullable: true})
  note: string;
}
